<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.png" />
    <title>个人空间</title>

    <% if(htmlWebpackPlugin.options.isProd){ %>
    <link rel="stylesheet" href="https://unpkg.com/element-ui@2.15.6/lib/theme-chalk/index.css" />
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vditor@3.8.11/dist/index.css" />
    <link href="https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.css" rel="stylesheet" />

    <script src="https://cdn.bootcss.com/vue/2.6.11/vue.min.js"></script>
    <script src="https://cdn.bootcss.com/vuex/3.6.2/vuex.min.js"></script>
    <script src="https://cdn.bootcss.com/vue-router/3.5.3/vue-router.min.js"></script>
    <script src="https://unpkg.com/element-ui@2.15.6/lib/index.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vditor@3.8.11/dist/index.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.js"></script>
    <script src="https://unpkg.com/axios@0.24.0/dist/axios.min.js"></script>

    <script src="https://cdn.jsdelivr.net/npm/echarts@5.2.2/dist/echarts.min.js"></script>
    <%}%>
    <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
    <%if (process.env.NODE_ENV === 'production') { %>
    <!-- 生产环境 -->
    <script>
      document.write('<script src="/config/index.js?t=' + new Date().getTime() + '"><\/script>')
    </script>
    <% }else{ %>
    <!-- 开发环境 -->
    <script src="/config/index.js"></script>
    <% } %>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please
        enable it to continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
